<?php

namespace models;

use esp\core\Model;

class TestModel extends Model
{
    public $_table = 'tabTest';
    public $_id = 'testID';
    public $_key = '';

    /**
     * @return int
     */
    public function in()
    {
        $data = [];
        $data['testTitle'] = 'ddd';
        $data['testBody'] = 'ddd';
        $data['testTime'] = time();

        return $this->mysql(1)->table('tabTest')->param(true)->insert($data);
    }


}